package com.example.blog.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Lob;
import java.util.Date;

@Data
public class Blog {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;
    private String coverurl;
    @Lob
    private String content;
    private String author;
    private Date createtime;
    private int likes;
    private String label;
    private int status;
    private String password;
}
